package wql.demo08;

import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

/**
 * @author wql
 * @version 1.0
 * @date 2022/10/26 9:45
 */

public class Test {
    public static void main(String[] args) {
        wo wo = new wo();
        wo.eat(332);
    }
}
@interface wql{

}

@wql
class wo{
    @wql
    private String name;
    @wql
    public void eat(@wql Integer num){
        System.out.println("num = " + num);
    }
}
